package com.yxinsur.imc.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcOrderRisk;
import com.yxinsur.imc.business.form.OrderRiskInputForm;

import java.util.List;

/**
 * 保单险种详情Service接口
 *
 * @author imc
 * @date 2021-03-18
 */
public interface IImcOrderRiskService  extends IService<ImcOrderRisk>
{
    /**
     * 修改续期险种信息
     * @param risk 险种信息
     * @return
     */
    public int renewalRiskEdit(OrderRiskInputForm risk);

    /**
     * 追加续期信息
     * @param risk
     */
    int renewalAdd(OrderRiskInputForm risk);

    void renewalDelete(Long orderRiskId);
}
